#ifndef __rulescol_h__
#define __rulescol_h__

/* Forward Declarations */

struct ENUMDESC;

/* header files for imported files */
#include "types.h"

/* header files for imported files */
#include "element.h"

#ifndef __IHTMLStyleSheetRule_FWD_DEFINED__
#define __IHTMLStyleSheetRule_FWD_DEFINED__
typedef interface IHTMLStyleSheetRule IHTMLStyleSheetRule;
#endif     /* __IHTMLStyleSheetRule_FWD_DEFINED__ */

#ifndef __IHTMLStyleSheetRulesCollection_FWD_DEFINED__
#define __IHTMLStyleSheetRulesCollection_FWD_DEFINED__
typedef interface IHTMLStyleSheetRulesCollection IHTMLStyleSheetRulesCollection;
#endif     /* __IHTMLStyleSheetRulesCollection_FWD_DEFINED__ */

#ifndef __IHTMLStyleSheetRule_INTERFACE_DEFINED__

#define __IHTMLStyleSheetRule_INTERFACE_DEFINED__

EXTERN_C const IID IID_IHTMLStyleSheetRule;


MIDL_INTERFACE("3050f357-98b5-11cf-bb82-00aa00bdce0b")
IHTMLStyleSheetRule : public IDispatch
{
public:
    virtual HRESULT STDMETHODCALLTYPE put_selectorText(
         /* [in] */ BSTR v) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_selectorText(
         /* [out] */ BSTR * p) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_style(
         /* [out] */ IHTMLRuleStyle* * p) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_readOnly(
         /* [out] */ VARIANT_BOOL * p) = 0;

};

#endif     /* __IHTMLStyleSheetRule_INTERFACE_DEFINED__ */


#ifndef __IHTMLStyleSheetRulesCollection_INTERFACE_DEFINED__

#define __IHTMLStyleSheetRulesCollection_INTERFACE_DEFINED__

EXTERN_C const IID IID_IHTMLStyleSheetRulesCollection;


MIDL_INTERFACE("3050f2e5-98b5-11cf-bb82-00aa00bdce0b")
IHTMLStyleSheetRulesCollection : public IDispatch
{
public:
    virtual HRESULT STDMETHODCALLTYPE get_length(
         /* [out] */ long * p) = 0;

    virtual HRESULT STDMETHODCALLTYPE item(
            /* [in] */ long index,/* [out] */ IHTMLStyleSheetRule** ppHTMLStyleSheetRule) = 0;

};

#endif     /* __IHTMLStyleSheetRulesCollection_INTERFACE_DEFINED__ */



EXTERN_C const GUID GUID_HTMLStyleSheetRule;


#ifndef _CStyleSheetRule_PROPDESCS_
EXTERN_C const PROPERTYDESC_BASIC_ABSTRACT s_propdescCStyleSheetRuleselectorText;
EXTERN_C const PROPERTYDESC_BASIC_ABSTRACT s_propdescCStyleSheetRulestyle;
EXTERN_C const PROPERTYDESC_BASIC_ABSTRACT s_propdescCStyleSheetRulereadOnly;

#endif


EXTERN_C const GUID GUID_HTMLStyleSheetRulesCollection;


#ifndef _CStyleSheetRuleArray_PROPDESCS_
EXTERN_C const PROPERTYDESC_BASIC_ABSTRACT s_propdescCStyleSheetRuleArraylength;
EXTERN_C const PROPERTYDESC_METHOD s_methdescCStyleSheetRuleArrayitem;

#endif


#endif /*__rulescol_h__*/

